package cn.zc.curriculum.service.mapper;


import cn.zc.curriculum.entity.CurriculumMenu;
import cn.zc.curriculum.entity.Dto.CurriculumMenuDto;
import cn.zc.curriculum.entity.VO.CurriculumMenuVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * <p>
 * 课程目录 Mapper 接口
 * </p>
 *
 * @author keno
 * @since 2022-02-14
 */
public interface CurriculumMenuMapper extends BaseMapper<CurriculumMenu> {

    List<CurriculumMenuDto> findCurriculumMenuByClassify(Page<Object> initPage, String classifyId);

    List<CurriculumMenuVO> findAllCurriculumMenuByClassify(Page<Object> initPage, String classifyId);
}
